
#include <stdio.h>
#include <assert.h>


char* my_strcpy(char* arr2, char* arr1)
{
	assert(arr2);
	assert(arr1);
	char* ret = arr2;
	
	while(*arr2++ = *arr1++)
	{
		;
	}
	
	return ret;
}



int main()
{
	char arr1[] = "abcdef";
	char arr2[20] = { 0 };
	my_strcpy(arr2, arr1);
	
	printf("%s\n", arr2);
	
	
	return 0;
}



